package com.ruoyi.gxs.mapper;

import java.util.List;
import com.ruoyi.gxs.domain.GxsPendActivity;

/**
 * 待审批活动Mapper接口
 * 
 * @author 高晓松
 * @date 2023-12-27
 */
public interface GxsPendActivityMapper 
{
    /**
     * 查询待审批活动
     * 
     * @param gxsPendActivityid 待审批活动主键
     * @return 待审批活动
     */
    public GxsPendActivity selectGxsPendActivityByGxsPendActivityid(Long gxsPendActivityid);

    /**
     * 查询待审批活动列表
     * 
     * @param gxsPendActivity 待审批活动
     * @return 待审批活动集合
     */
    public List<GxsPendActivity> selectGxsPendActivityList(GxsPendActivity gxsPendActivity);

    /**
     * 新增待审批活动
     * 
     * @param gxsPendActivity 待审批活动
     * @return 结果
     */
    public int insertGxsPendActivity(GxsPendActivity gxsPendActivity);

    /**
     * 修改待审批活动
     * 
     * @param gxsPendActivity 待审批活动
     * @return 结果
     */
    public int updateGxsPendActivity(GxsPendActivity gxsPendActivity);

    /**
     * 删除待审批活动
     * 
     * @param gxsPendActivityid 待审批活动主键
     * @return 结果
     */
    public int deleteGxsPendActivityByGxsPendActivityid(Long gxsPendActivityid);

    /**
     * 批量删除待审批活动
     * 
     * @param gxsPendActivityids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGxsPendActivityByGxsPendActivityids(Long[] gxsPendActivityids);

    /**
     * 查询已审批活动列表
     *
     * @param gxsPendActivity 待审批活动
     * @return 待审批活动集合
     */
    public List<GxsPendActivity> selectPendApprovedList(GxsPendActivity gxsPendActivity);

    /**
     * 查询待审批活动列表
     *
     * @param gxsPendActivity 待审批活动
     * @return 待审批活动集合
     */
    public List<GxsPendActivity> selectApprovedList(GxsPendActivity gxsPendActivity);

    public List<GxsPendActivity> notInSelectGxsPendActivityList(Long userId);

    public List<GxsPendActivity> JoinSelectGxsPendActivityList(Long userId);

}
